package cn.maihe.elg.operation.centers.supports.annotation;

import cn.maihe.elg.operation.model.enums.CenterNoEnum;
import cn.maihe.elg.operation.model.enums.CenterProviderEnum;
import cn.maihe.elg.operation.model.enums.GuaranteeType;
import cn.maihe.elg.operation.model.enums.TradeType;
import org.springframework.stereotype.Service;

import java.lang.annotation.*;

/**
 * @author Administrator on 2018-05-20.
 * @ 创建日期：2018-05-20
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Service
public @interface CenterTradeService {
    /**
     * 中心系统供应商
     */
    CenterProviderEnum provider();
    CenterNoEnum centerNo();//中心编码

    TradeType tradeType();//交易类型

    GuaranteeType guaranteeType() default GuaranteeType.GUARANTEE; //保函类型

    Class<?> reqClass();//请求对象CLASS

    Class<?> respClass();//响应对象CLASS

}
